package com.woniu.product.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 优惠券领取记录表
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lg_coupon_receive")
public class CouponReceive implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自动增加ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 买家id
     */
    private Integer buyerId;

    /**
     * 优惠卷编号
     */
    private Integer couponId;

    /**
     * 券额
     */
    private BigDecimal couponMoney;

    /**
     * 领取时间
     */
    private Date createTime;

    /**
     * 金额满
     */
    private BigDecimal fullMoney;

    /**
     * 状态
     */
    private String status;


}
